<template>
    <div class="max">
        <shuju :collectList="collectList"></shuju>
    </div>
</template>

<script>
    import Shuju from "@/components/shuju";
    export default {
        name: "collect",
        components: {Shuju},
        data() {
            return {
                collectList: [],
            }
        },
        created() {
            this.onSubmit();
        },
        methods: {
            // 模糊查询
            onSubmit() {
                var token = sessionStorage.getItem("token");
                this.$http.post("/collect/collect/CollectSelect").then(result => {
                    console.log(result)
                    this.collectList = result.data.data;
                })
            }
        }
    }
</script>

<style scoped>

    .max {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 266.6667vw;
    }
</style>